#include "precompiled.h"
#include "myGlExtensions.h"

// Declare Global Variables for all the ARB extensions we need.
 PFNGLACTIVETEXTUREPROC				glActiveTexture					= NULL;
 PFNGLCREATEPROGRAMOBJECTARBPROC		glCreateProgramObjectARB		= NULL;
 PFNGLDELETEOBJECTARBPROC			glDeleteObjectARB				= NULL;
 PFNGLUSEPROGRAMOBJECTARBPROC		glUseProgramObjectARB			= NULL;
 PFNGLCREATESHADEROBJECTARBPROC		glCreateShaderObjectARB			= NULL;
 PFNGLSHADERSOURCEARBPROC			glShaderSourceARB				= NULL;
 PFNGLCOMPILESHADERARBPROC			glCompileShaderARB				= NULL;
 PFNGLGETOBJECTPARAMETERIVARBPROC	glGetObjectParameterivARB		= NULL;
 PFNGLATTACHOBJECTARBPROC			glAttachObjectARB				= NULL;
 PFNGLGETINFOLOGARBPROC				glGetInfoLogARB					= NULL;
 PFNGLLINKPROGRAMARBPROC				glLinkProgramARB				= NULL;
 PFNGLGETUNIFORMLOCATIONARBPROC		glGetUniformLocationARB			= NULL;
 PFNGLUNIFORM4FARBPROC				glUniform4fARB					= NULL;
 PFNGLUNIFORM3FARBPROC				glUniform3fARB					= NULL;
 PFNGLUNIFORM1FARBPROC				glUniform1fARB					= NULL;
 PFNGLUNIFORM1IARBPROC				glUniform1iARB					= NULL;
 PFNGLUNIFORMMATRIX4FVPROC			glUniformMatrix4fv				= NULL;
 PFNGLBINDATTRIBLOCATIONARBPROC		glBindAttribLocationARB			= NULL;
 PFNGLGENVERTEXARRAYSPROC				glGenVertexArrays				= NULL;
 PFNGLBINDVERTEXARRAYPROC				glBindVertexArray				= NULL;
 PFNGLDELETEVERTEXARRAYSPROC			glDeleteVertexArrays			= NULL;
 PFNGLGENBUFFERSARBPROC				glGenBuffers					= NULL;
 PFNGLBUFFERDATAARBPROC				glBufferData					= NULL;
 PFNGLBINDBUFFERARBPROC				glBindBuffer					= NULL;
 PFNGLBUFFERSUBDATAPROC				glBufferSubData					= NULL;
 PFNGLVERTEXATTRIBPOINTERPROC			glVertexAttribPointer			= NULL;
 PFNGLENABLEVERTEXATTRIBARRAYPROC		glEnableVertexAttribArray		= NULL;
 PFNGLUSEPROGRAMPROC					glUseProgram					= NULL;
 PFNGLDISABLEVERTEXATTRIBARRAYPROC	glDisableVertexAttribArray		= NULL;
 PFNGLDELETEPROGRAMPROC				glDeleteProgram					= NULL;
 PFNGLDETACHSHADERPROC				glDetachShader					= NULL;
 PFNGLDELETEBUFFERSPROC				glDeleteBuffers					= NULL;
 PFNGLDELETESHADERPROC				glDeleteShader					= NULL;
 PFNGLDRAWRANGEELEMENTSPROC			glDrawRangeElements				= NULL;
 PFNGLGENFRAMEBUFFERSEXTPROC			glGenFramebuffersEXT				= NULL;
 PFNGLBINDFRAMEBUFFEREXTPROC			glBindFramebufferEXT			= NULL;
 PFNGLDELETEFRAMEBUFFERSEXTPROC		glDeleteFramebuffersEXT				= NULL;
 PFNGLGENRENDERBUFFERSEXTPROC			glGenRenderbuffersEXT			= NULL;
 PFNGLRENDERBUFFERSTORAGEEXTPROC		glRenderbufferStorageEXT		= NULL;
 PFNGLBINDRENDERBUFFEREXTPROC			glBindRenderbufferEXT			= NULL;
 PFNGLDELETERENDERBUFFERSEXTPROC		glDeleteRenderbuffersEXT		= NULL;
 PFNGLFRAMEBUFFERTEXTURE2DEXTPROC		glFramebufferTexture2DEXT		= NULL;
 PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC	glFramebufferRenderbufferEXT	= NULL;
 PFNGLDRAWBUFFERSARBPROC				glDrawBuffersARB				= NULL;
 PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC	glCheckFramebufferStatusEXT		= NULL;
